package com.cc.models;

import java.io.Serializable;
import java.util.List;

/**
 * 用户表
 * @author chailinxiao
 *
 */
@SuppressWarnings("serial")
public class User extends BaseModel implements Serializable{
	
	private Integer userId;				// 用户ID
	
	private String userName;			// 用户名称
	
	private String userPassword;		// 用户密码
	
	private String userEmail;			// 用户邮箱
	
	private String userPhone;			// 用户电话

	private List<Role> roles;			// 角色列表
	
	
	public List<Role> getRoles() {
		return roles;
	}
	public void setRoles(List<Role> roles) {
		this.roles = roles;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public String getUserPassword() {
		return userPassword;
	}
	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}
	public String getUserEmail() {
		return userEmail;
	}
	public void setUserEmail(String userEmail) {
		this.userEmail = userEmail;
	}
	public String getUserPhone() {
		return userPhone;
	}
	public void setUserPhone(String userPhone) {
		this.userPhone = userPhone;
	}
}
